package com.cskt.beyondplatform.mapper;

import com.cskt.beyondplatform.pojo.DataDictionary;

import java.util.List;

public interface DataDictionaryMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(DataDictionary record);

    DataDictionary selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DataDictionary record);

    /**
     * 根据类型查询数据字典
     * @param typeCode 字典类型编码
     * @return 
     */
    List<DataDictionary> selectDataDictionaryByTypeCode(String typeCode);
}